/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package motiveai.components;

import java.util.ArrayList;

/**
 *
 * @author oxplay
 */
public abstract class AgentGroup {

    protected ArrayList<Agent> agentList = new ArrayList<Agent>();

    private String name = "";

    public AgentGroup(String name) {
        this.name = name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public abstract void onUpdate(ArrayList<Agent> agents);
}
